﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Mock1Group6
{
    public partial class ViewHistory : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            System.Threading.Thread.Sleep(2000);
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Session["1weekago"] = "1weekago";   
            //table1.Visible = false;
            //table2.Visible = false;
            //table3.Visible = false;
            Response.Redirect("ViewDetails.aspx");
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            Session["1monthago"] = "1monthago";
            Response.Redirect("ViewDetails.aspx");
        }

        protected void Button3_Click(object sender, EventArgs e)
        {
            Session["4monthago"] = "4monthago";
            Response.Redirect("ViewDetails.aspx");
        }

        protected void Button4_Click(object sender, EventArgs e)
        {
            Session["6monthago"] = "6monthago";
            Response.Redirect("ViewDetails.aspx");
        }

        protected void Button5_Click(object sender, EventArgs e)
        {
            Session["1yearago"] = "1yearago";
            Response.Redirect("ViewDetails.aspx");
        }

        protected void Button6_Click(object sender, EventArgs e)
        {
            Session["2yearago"] = "2yearago";
            Response.Redirect("ViewDetails.aspx");
        }
    }
}